<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>test</title>
		<script type="text/javascript">
		var str = '{error: 0, id: 0, time: 1625842187, acc: 0, ref: 0}';
		var str = '{"error": "0", "id": "0", "time": "1625842187", "acc": "0", "ref": "0"}';
		//var obj = JSON.parse(str);
		//console.log(obj);
		
		var obj = eval("(" + str + ")");
		console.log(obj);
		</script>
	</head>
	<body>
		
	</body>
</html>
